﻿
using Basic.FormRemoteModel;

namespace Basic.UserFormService.Model
{
    public class FormBodyDto
    {
        public long FormId
        {
            get;
            set;
        }
        /// <summary>
        /// 表单名称
        /// </summary>
        public string FormName { get; set; }

        /// <summary>
        /// 表单说明
        /// </summary>
        public string FormShow { get; set; }

        /// <summary>
        /// 表列表
        /// </summary>
        public FormTableDto[] Table { get; set; }

        public ColFormula[] Formula
        {
            get;
            set;
        }
        /// <summary>
        /// 状态控制
        /// </summary>
        public ColFormula[] StateFormula { get; set; }

        /// <summary>
        /// 状态控制类型
        /// </summary>
        public Dictionary<long, FormStateControl> StateControl { get; set; }


        public long[] DicId { get; set; }

        public long[] TreeDicId { get; set; }

        public long[] StateDicId { get; set; }

        public long[] TreeStateDicId { get; set; }

        public Dictionary<long, Dictionary<string, string>> Items { get; set; }

        public Dictionary<long, FormStateControl> DefState { get; set; }
    }
}
